package com.itheima.sbdemo;
/*
StringBuilder 构造方法

new StringBuilder(); 16
new StringBuilder(int 容量);给多少创建多少
new StringBuilder(String 字符串);

 */
public class Demo02 {


    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        StringBuilder sb2 = new StringBuilder(10);
        StringBuilder sb3 = new StringBuilder("abc");
        System.out.println(sb);
        System.out.println(sb2);
        System.out.println(sb3);

    }
}
